<?php /* Smarty version Smarty-3.0.7, created on 2012-10-09 20:56:08
         compiled from "./_adm/_adm_mct_temp/_admin_login.mct" */ ?>
<?php /*%%SmartyHeaderCode:1419050741ee8b62932-92833759%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '2bbcf403137819e9e5e0cf820b403cb2dd46f415' => 
    array (
      0 => './_adm/_adm_mct_temp/_admin_login.mct',
      1 => 1343743994,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '1419050741ee8b62932-92833759',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Administrator Login Panel | <?php echo $_smarty_tpl->getVariable('_cf_shop_name')->value;?>
</title>
	<link href="<?php echo $_smarty_tpl->getVariable('base_tpl')->value;?>
/style.css" rel="stylesheet" media="all" />
	
</head>
<body style="background-color: #000000;">
<div style="display: block; position: absolute; overflow: hidden; z-index: 1004; outline: 0px none; height: auto; width: 300px; top: 54.5px; left: 521px;" class="ui-dialog ui-widget ui-widget-content ui-corner-all ui-draggable" tabindex="-1" role="dialog" aria-labelledby="ui-dialog-title-login"><div class="ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix" unselectable="on" style="-moz-user-select: none;"><span class="ui-dialog-title" id="ui-dialog-title-login" unselectable="on" style="-moz-user-select: none;">Đăng nhập quản trị</span></div><div id="login" class="ui-dialog-content ui-widget-content" style="height: 128px; min-height: 48px; width: auto;">
				<form name="myform" method='post' action='?' enctype="multipart/form-data" onsubmit="return check_login();">
					<ul>
						<li>
							<label class="desc" for="email">
								Username:
							</label>
							<div>
								<input type="text" id="username" name="username" class="field text full" value="" maxlength="255" tabindex="1"/>
							</div>
						</li>
						<li>
							<label class="desc" for="password">
								Password:
							</label>
							<div>
								<input type="password" id="password" name="password" class="field text full" value="" maxlength="255" tabindex="1"/>
							</div>
						</li>
                        
					</ul>
			
</div><div class="ui-dialog-buttonpane ui-widget-content ui-helper-clearfix">
                            <?php if ($_smarty_tpl->getVariable('error')->value){?>
                            <font style="color: red;text-decoration:blink; margin-left: 80px;">Sai thông tin đăng nhập</font>
                         <?php }?>
<input type="submit" name="login" style="margin-top: 6px;margin-left: 100px;" value="Đăng nhập" class="ui-state-default ui-corner-all" /></div></div>
	</form>
<script>
    function check_login()
    {
        var u = document.getElementById('username').value;
        var p = document.getElementById('password').value;
        if(u == "" || p == ""){
            alert("Nhập đầy đủ thông tin!");
            return false;            
        }else{
            return true;
        }
    }
</script>
</body>
</html>